export default {
  state: {
    weather: "",
    accidentTime: "",
    accidentAddress: "",
    description: "",
    law: "",
    rule: "",
    personInfoList: [
      {
        index: "0",
        sort: "0",
        accidentPersonNum: "客户1",
        name: "",
        phoneNumber: "",
        idNumber: "",
        selfAccount: "",
        companyAccount: "",
        companyName: "",
        relationship: "",
        moneyA: "",
        moneyB: "",
        reason: "",
        extractMode: "",
        settlementMode: "",
        bankName: "",
        bankAccount: "",
        bankAddressA: "",
        bankAddressB: "",
        sign: "nosign.png"
      }
    ],
    imageInfoList: [],
    showSign: false,
  },
  mutations: {
    setWeather(state, params){
      state.weather = params;
    },
    setAccidentTime(state, params){
      state.accidentTime = params;
    },
    setAccidentAddress(state, params){
      state.accidentAddress = params;
    },
    setDescription(state, params){
      state.description = params;
    },
    setLaw(state, params){
      state.law = params;
    },
    setRule(state, params){
      state.rule = params;
    },
    setPersonInfoList(state, params){
      state.personInfoList = params;
    },
    setImageInfoList(state, params){
      state.imageInfoList = params;
    },
    setShowSign(state, params){
      state.showSign = params;
    }
  },
  actions: {

  }
}
